preserve other modifications to doDeleteAll

Use string manipulation for the doDeleteAll( ) update to call purgeCache( ) so that other modifications such as doOnDeleteCascade/SetNull() are preserved.