Bugfix: len(res) versus res.  No need to specify 'grouping.name' in order, simply 'grouping' is equivalent.
Bugfix: len(res) versus res.  No need to specify 'grouping.name' in
order, simply 'grouping' is equivalent.

git-svn-id: 5b1347ddac5aba1438c637217dfe0bb137609099@680 8efdbd46-c5fb-49ab-9956-99f62928ec21

icatproject/python-icat