Fixes the unassigned commands ordering.