Fixed bug where custom onDelete actions could not be created.
Fixed indentation.
Merge branch 'hwloh-onDelete_fix'