Proposed legislation would close a loophole allowing cities to collect unlimited revenue from fines, forfeitures.