if you see the first part the time diff between start time and end time is minimal so these are real time deliveries and in second part the time diff is coparatively huge so these are the ones resent....the problem with this method i face is i got more than 1000 messages after this filter(filtered by true) while we resent some 370??