Move all filtering out of Java.  Will be handled via Mongo in JRuby.