Fix crash when deleting text rapidly due to bracket matcher (hopefully)