From date field not working properly in IMAP Get Mail module

I am trying to fetch all my email (yahoo) from yesterday using Get Email IMAP module. I made the connection ok because it retrieve some mails from my inbox.

Before this module, i created a set variable module which sets the date to my variable “yesterday“.

At the field From, in the IMAP module, i insert variable yesterday. Maximum number of results, i inserted value 70.

Problem is that if i run the scenario, it outputs just a few mails from yesterday and then starts outputting mails from 2 or 3 days before even though it didn’t displayed all mails from yesterday.

What should i do to fix this?