Applying Ian fix to ligolw_segments_from_cats for contenthandler changes so users can test glue immediately.