Fixed bug in concentration clamp.

Previously, the code would only check the next element in
a linked list to find matching objectes instead of walking
along the whole linked list.