Fixed a bug regarding regimen collissions.