Fixed errors with comodification - units are deleted now!