Fix logical inversion, add missing space to error message.