Bugfix of clearing Ultisnips snippets

This patch fixes #415.