More bugfixes in concentration clamp code.