Fix a bug where a check was omitted