Ensure decoder returns error for bad nodes