Fixed a restart bug.
Fixed level ordering.