Fix table select keyhandler to not break forms.