Fix unpublished check not to match on css styles