Changed casting from int to Integer and boolean to Boolea in the method transform of the class Filter.