fixed default behaviour of IsDefault definition attribute