Corrected logic for remembering the last set of accounts used for cross posting