Fixed a bad condition