Fixed LDAInference return values