Directly linking to new-topic not working when default list filter = no sub categories

Hello,
I have created a link as described in How to create a new topic link with pre-filled information to create a new topic in a specific category. I have used a category_id parameter.

Everything worked, until I changed the setting of the Category from “Default List Stile=all topics” to “Default List Style = no subcategories”:

Then I get the following javascript error:

_ember_jquery-36a23101c869ab0dc53fc908de69adb785731593573d32bdeef416acc1076ef4.js:4069 Uncaught TypeError: Cannot read property 'category_slug_path_with_id' of undefined
    at t.afterModel (_application-4d2ba037d2c27496918cbbb0005cf8e20df223d30470e979f5aad27938d06cb3.js:70434)
    at e.t.runAfterModelHook (_ember_jquery-36a23101c869ab0dc53fc908de69adb785731593573d32bdeef416acc1076ef4.js:70143)
    at _ember_jquery-36a23101c869ab0dc53fc908de69adb785731593573d32bdeef416acc1076ef4.js:70055
    at E (_ember_jquery-36a23101c869ab0dc53fc908de69adb785731593573d32bdeef416acc1076ef4.js:72211)
    at w (_ember_jquery-36a23101c869ab0dc53fc908de69adb785731593573d32bdeef416acc1076ef4.js:72194)
    at t.invoke (_ember_jquery-36a23101c869ab0dc53fc908de69adb785731593573d32bdeef416acc1076ef4.js:66552)
    at e.t.flush (_ember_jquery-36a23101c869ab0dc53fc908de69adb785731593573d32bdeef416acc1076ef4.js:66442)
    at e.t.flush (_ember_jquery-36a23101c869ab0dc53fc908de69adb785731593573d32bdeef416acc1076ef4.js:66646)
    at e.t._end (_ember_jquery-36a23101c869ab0dc53fc908de69adb785731593573d32bdeef416acc1076ef4.js:67222)
    at e.t.end (_ember_jquery-36a23101c869ab0dc53fc908de69adb785731593573d32bdeef416acc1076ef4.js:66908)

when I change the setting back to “All Topics” the link works again as intended.

I am using discourse 2.7.5 ( a94a623009 )