fixed a bug in deleteDoc() and changed the $keys documentation of queryView() method