fix bugs with columns_to_join in instance_get_all