Fix race between MQ and mongo setting QueuedAt