Fix for #151 - IllegalArgumentException using enum in filter - toBeanType() throws