When hiding a document in a course it also hides the document in all sessions see BT#6621