Fixed an off by one error in CableBusStorage

This will fix #269 and #288
Fixes duping of damaged items. #298
Code formatting