[#1188] Problems with private / public datasets and organizations

This is an issue with two parts.

1.
This dataset says it's a member of a group (see sidebar):

http://demo.ckan.org/dataset/group-test

But when I looked at the group it was empty. It turns out the dataset was in the group, but was private. However, it was private to me - surely I should be able to see it in the group listing.

2.
Anyway, so I made it public - the dataset can now be seen in the group listing. Then I tried to make it private again to recreate the problem and I got this message:

"The form contains invalid entries:

Private: Datasets with no organization can't be private."

But the dataset *does* have an Organization. So what's that about?