Fixed problems when location has no posts