[#84242956] Fix create queue slot algorithm.