BUGFIX Advance and arrears reversed around