filter attributes before set parameters (closes #3973)