Fix for executeQuery error handling bug and JsonResultsAdapter handling of null nodes.