fix commit 127aa29aee7bbf41be3b495821283ea7403af582 which prevents delete under certain circumstances