Fixed a bug in the order parsing.