Fix length sometimes being negative