Fix pagination for ActiveSync mailbox searches.

Fixes search when a range is sent that is less than the total number of results.
Like, for example, in Android 4.4