Fix bug with owned_by filtering on nested filters