Fix #519

Fix #519 and use `!$title->exists()` instead of `$title->isDeleted()` and bail out when `'action' === 'delete' `.