Make query for user's feed more efficent