Fix for semantics problem in IsQueued()