Added validation for consecutive months in TransactionManager