Tweak IDB write queue (rebased)