Fixed a check, before it became a problem