Added exception handler to catch filtering problems.  Closes #37