Remove the unnecessary check for tab key.