Adding protection for null clusters in assignment operator