Fixes and error handling for MutableOrderedGroupingQueue
Fixed caching