fix up some associations between plants, sensors, and logs