Fixed projection with null reference or null collection in source object. Created tests also.