#127 Fix for checkUnique if not passing a document in, i.e. you just want to check if a doc already exists with the key values and you've got a new doc