Assume that you use a client to connect to Exchange Server through Internet Message Access Protocol (IMAP). When you try to request for emails in a UID range of a certain pattern, you may find that the emails that are outside the UID range are returned to the client.
This issue occurs in Microsoft Exchange Server 2016 and Exchange Server 2013.