Add dependent destroy to category mapping table

Fixes #4312