bug-fix: do not allow to delete the reference flow of a process