Deleting objects from the Security database