Avoid IndexArrayOutOfBoundsException.
Bug Fix: Allow candidate to download his learning agreement with adequate access control.