Fix this in the `queues` factory instead, for example by returning `null`. Here, a `null` check can be made instead.

Exactly how are ghost queues created? How can we solve that instead?