Fixed context.ResolveSize returning incorrect value when node-id doesn't exist