The offending code sections are I believe in the json files linked here and here. I'm not sure which one's which though so here's an open ticket instead of a merge request.
Here are some screenshots:
Syrikal commented
Fixed this a while back and forgot to close the issue.