Fixed LinkGenerator expects a Url object - see Issue #2277103