Correct post date of opening balance transaction when the opening date changes. (cherry picked from commit 720d999a)