Fix an edge case in parsing

That's how I convince myself that a third one of these
isn't embarassing.