Fixed check_elb_5xx to avoid division by 0