Remove extra getOrder condition

Minor refactor.