Fix Missing Token

Add special handling on insert unique entity to array for missing token
case.