Fixed #23396 - Ensure ValueQuerySets are not checked by check_related_objects

See https://code.djangoproject.com/ticket/23396#ticket