Refactor rdGetNextCartNumber() to properly find the next available cart number.
Refactor rdGetNextCartNumber() to properly find the next available cart number.

opensourceradio/ram,opensourceradio/ram,opensourceradio/ram