[GEOS-6628] NullPointerException when setting empty ParameterFilter

Please look at the following issue: https://jira.codehaus.org/browse/GEOS-6628.