null check on list passed to savePosts()