[Bugfix] Change wrong condition