fix nil reference error in assignment view XML api under certain conditions
fix nil reference error in assignment view XML api under certain conditions

mikehelmick/CascadeLMS,mikehelmick/CascadeLMS,mikehelmick/CascadeLMS,mikehelmick/CascadeLMS