Fixes for SqlServer dequeuer