JAL-3840 don’t update the modal residue count for gaps