Filter in-memory messages to desired time window