Got collate detection around the wrong way in stylesheet generation