Fix if statement in processing collisions (check was not quite correct before and would cause incorrect processing of collisions).
Fix if statement in processing collisions (check was not quite correct before and would cause incorrect processing of collisions).

M-O-S-E-S/opensim,M-O-S-E-S/opensim,M-O-S-E-S/opensim,M-O-S-E-S/opensim,M-O-S-E-S/opensim,M-O-S-E-S/opensim,M-O-S-E-S/opensim