Bug fix in DocumentsController.

Year Group action checks params against year groups as opposed to subjects.