fix nil posts
Merge pull request #15 from superp/friends_count

fix nil posts