Fixed bug which caused issues with creating test instances in API.
Resulted in a slight increase in accuracy on train/test classification.