Fixed deletion

- Fixed deletion. Now options that point to only the deleted page will
be deleted as well.