@jurasjo,
After reviewing the code I don’t see how any of our nav menu items would end up ever getting to the the condition that’s looking at the url.
I’m not seeing this on a clean local install. Can you confirm that you don’t have any custom code that might be adding custom dashboard tabs to your site using the filter found in this method: https://developer.lifterlms.com/reference/classes/llms_student_dashboard/get_tabs/
If that doesn’t help would you post me a copy of your LifterLMS System Report to a service like pastebin so I can take a closer look at your configuration and see what’s causing this that’s eluding me?
Thanks,