Fixing response code for no node found in lookup