check if new filter is equal to the current one using _.isEqual rather than ==