Started on 'doDeleteBy' functions, fixed returns