Improved short json sequence handling with rests (-1) and ties (-2).