Fix sharing of feeds.

The link was created wrong since the id was always 0 due to our recent changes of the mapper.