spendings are added to the right month, fixes #4