Fixed crash which might happen if the xnatObject is null
Fixed crash which might happen if the xnatObject is null

AndreasFetzer/CTK,151706061/CTK,SINTEFMedtek/CTK,ddao/CTK,fedorov/CTK,naucoin/CTK,msmolens/CTK,151706061/CTK,commontk/CTK,AndreasFetzer/CTK,naucoin/CTK,CJGoch/CTK,SINTEFMedtek/CTK,CJGoch/CTK,CJGoch/CTK,commontk/CTK,rkhlebnikov/CTK,Sardge/CTK,SINTEFMedtek/CTK,sankhesh/CTK,sankhesh/CTK,AndreasFetzer/CTK,commontk/CTK,fedorov/CTK,msmolens/CTK,mehrtash/CTK,151706061/CTK,Sardge/CTK,jcfr/CTK,commontk/CTK,Heather/CTK,rkhlebnikov/CTK,jcfr/CTK,msmolens/CTK,151706061/CTK,naucoin/CTK,fedorov/CTK,Sardge/CTK,jcfr/CTK,AndreasFetzer/CTK,CJGoch/CTK,SINTEFMedtek/CTK,mehrtash/CTK,Heather/CTK,Heather/CTK,rkhlebnikov/CTK,ddao/CTK,ddao/CTK,fedorov/CTK,Heather/CTK,CJGoch/CTK,jcfr/CTK,jcfr/CTK,sankhesh/CTK,msmolens/CTK,Sardge/CTK,naucoin/CTK,rkhlebnikov/CTK,SINTEFMedtek/CTK,mehrtash/CTK,ddao/CTK,mehrtash/CTK,151706061/CTK,sankhesh/CTK