Fixed warning about bad condition operators