Issue 172 - Set isSecureArea flag before and after scope delete

This is a bit dirty but the best way I can see around the core check for doing this via the admin area.