Bugfix for editing snippets.