fixed error in arrayFilterKeys()