tweaks to queue contains