Formatting cleanup in the select publication logic.