Added a check for a '0' entry order.