Bug Fix: Fix Funtion.canBeDeleted