Why are my conditions NOT working properly now?