Documents returned instead of only ids