QueueModel: Fix php notices.