Finished list, first and last logic for MongoDb without filter
parameters