Fixed a bug that was causing the current and total order tabs to crash
when clicked