fixed bug when deleting calc step category for sampling unit