How to perform multiple filters on an array using utils.filter?