I've narrowed it down to the fact that we are running the EasyStats script on our dedicated server. Once I remove that, the cargo unload script is working and the cargo is showing at the LZ.
EDIT: Moved over to SLMOD for tracking stats instead and can confirm it is now working as expected. Thanks for getting back to me @Surrexen!