correctly handle empty clustered by values or values containing commas

as elasticsearch misinteprets empty string or strings containing commas
do not use these as routing for requests