Conditions not workin even though set up correctly.