Removed twice query on gridfs