Found bug in RandomizedQueue and fixed