#767 - fix incorrect equals() method on OrderWrapper