D'oh! Just realized this could be with ondelete="CASCADE" on the MacAddress model. Updating pull request....