Revert "Handle the indexerror exception on create_order"
It was merged by mistake during the code freeze.
Merge pull request #3785 from mlkwaqas/waqas/lms2646-revert

Revert "Handle the indexerror exception on create_order"