Fixes for LatrineSensor library