Fixes #5912

Also fixes hydroponics trays not updating.