Reverting behaviour for only pre-commit going to NEXT commit value. Only change number if it is different from that stored.