Fixing a bug migrating from 2.0 to 2.2.

There is a case where you could end up with no ordering_count columns. This migration takes care of this.