Fixed issue where unpublished posts were showing up in tags