Changed _get_real_instances logic to use a join to only fetch best fallbacks