Prevent navigation from picking up on keypress events that aren't an exact match