Go to Setup...Company Parameters and open the Formats tab.

In the "Age Balance Forward Journal Credits" section, make sure the option "In the Period They Were Processed In" is selected.