fixed problem with then optional content groups which will be left unmarked if process_trailer_attrs is not executed