Renamed internal deleted property to isDeleted

Fixes #771