Fix a few cases of 'null' criteria passed to updateAll() and deleteAll()

Additional changes related to  #151 and #153