fixed before/afterDelete handler, only delete meta-data record if base record has been deleted
fixed before/afterDelete handler, only delete meta-data record if base record has been deleted

schmunk42/p3extensions,schmunk42/p3extensions,schmunk42/p3extensions