Changed Manager superclass

This pull request fixes the issue #318 that an exception occurs when querying published posts.