Correct the advanceSrcLoc calculation for tabs