Avoid empty segments in Builder::dynamicWhere