Add ability to filter arrays