Fixed bug with related fields in filtering not automatically being set to ALL_WITH_RELATIONS