Edit and delete should now work with all 'dependencies'. Some bugs still exist, haven't got the time to fix them atm.