Fix bugs.
RandomizedQueue API.