Minor logic fix for OpenCL NGram generation