b2Assert when changing body to static and contacts exist

I have created a button that is implemented as two bodies connected by a distance and prismatic joint. One of these bodies is dynamic, the other static and they are set to not collide with each other. Inside of the static body is a trigger region that is set to only collide with the dynamic body. When the trigger region is hit, I set the dynamic body to static. At this point, I get an assert in b2ContactManager::Collide, line 118 in the latest SVN revision:

Code:
b2Assert(bodyA->m_type == b2_dynamicBody || bodyB->m_type == b2_dynamicBody);


My question is, when a body is changed to static shouldn't the world destroy all contacts between that body and other static/kinematic bodies (but leave contacts between other dynamic bodies)?

Justin
On a side note, instead of changing the dynamic body to static you might be able to get a sufficient result by just setting the limits of the prismatic joint to confine it to it's current position.
Thanks, I filed an issue: http://code.google.com/p/box2d/issues/detail?id=228

Original thread: https://box2d.org/forum/viewtopic.php?t=7455