Fixing resource for groups

This should fix claroline/Claroline#302