filterKeys bugfix