Filter messages by timestamp