Renamed internal deleted property to isDeleted

Fixes #771
this as well, if deleted is a boolean.