QueueModel: Force foreign id to always be set.