The link for the "Surplus" feature was still using the array index as the DeviceID, rather than $obj->DeviceID, which is incorrect.

Fixed #247