Added null checks to learning opportunity converter.