Fixed a bug where unordered factors were ingested as ordered (with every category having the order 0)