River Flood: Fix trend calculation