Added empty order validation