New functions to allow filtering for array keys