Update getAll to get not deleted only