Alter unpaid invoice scope
Temporarily deal with increment counters on the master_file level