Fixing text filtering. Still need to fix study title and backslashes
More work on filtering of text.
Merge pull request #246 from tomfuller2/master

Initial fixing for bad class reference in filtering text