Fix Undefined index: isGrouped
Fix Strict Standards notice
Merge pull request #1459 from owncloud/fix-1458

Fix 1458