avoid relationship queries on non-roots