Why does my CONDITIONS not work correctly?