Remove brackets in "after" and "before" snippets