Improved queue number search efficiency