Array filter improvements