JAL-2370 fix bug when hiding a range including two or more hidden ranges