Fixes #4 when no posts in the db