Properly handle no posts

fixes #4058
- Set noPosts in setupController