[Issue #277] Fix show-smartparens-mode modifying match data