handling null values better for getting other marked individuals in an occurrence