Fixes #238 Smartparens-strict-mode not working

Previous commits was about Python, this commit should fix it
for all the other modes.