Fix forgotten injection of queues factory