Fix auto-pair removing an entire pair upon backspace