Fixed minor bug in concurrent queue where invalid queues would throw runtime errors