Fix syntax/logic problem when tag property doesn't exist yet