Checks for invalid guess