Force the limit of final items in the query

This is necessary to avoid duplicated emails when looking
for a specific message_id.