Fixing another JSON validation error in zero terms query