updates to use the "<" operator for total_forledger