I changed some things and your mod now crashes.
I removed the pipe connections from the fluid box. That nil crashes.
The fluid conversion doesn't work as it needs to target the tank.
I put in a placeholder pipe that does nothing to help with the crash.
I see you found a temp fix on your end but I think I have removed references to pipe connections (I think it was code left over from tubs that wasn't needed anymore), so it should be safe to remove the temp fix with your next update.