Check for a existence of the required order's number. Fixed a bug of incorrect reference to the order