Fixed the published? method.