Copy iterable in to avoid extra db queries