Attempt to fix MS sql batching issue