AUTO-825 using subtraction instead addition to calculate the last submission value