Fixed bugs relating to selecting snippets by title