Cleaning up changes related to ordering in level mode.