Prevents error when finding the order