Conditional Logic not working.