do not break params filtering on nil values

closes #12149