Revert "Fixed queue() not handling invalid tokens correctly"

This reverts commit 4cf36d79980a096b641e762b29973d8135629989.