Fixed isPublished and isExpired checks…weird issue in CF10 (or maybe in 9)