Restrict relation check on delete added + tests