Fixed #23396 -- Ensured ValueQuerySets are not checked by check_related_objects.