Fixing bug on empty river.