Added quantity validation when handling order messages