Fixes issue with inheritance not working. Added isDeleted = false on baseModel