Fixing mongo categories/types/drugs interaction, cascading deletion, etc