MBS-5964: apparently _delete_from_cache also gets gids, which we should ignore