We should not transform the query result to an array here since a repository is expected to return a query result...