Fixing issue with realtime ordering and simplifying bounded queue functionality