There could be many reasons for a unit like this to be on a work train. For example, maybe it had an issue on another through train and was set out. It became available for a work train whether it was fixed or not. More than likely it was fixed before going out.