Performance penalty for has_child queries