student-dashboard.php virtual page not triggered properly

I have a custom theme that we've developed to connect to CoursePress. We had an issue arise upon installing 1.2.6 where the courses-dashboard slug wasn't displaying the virtual page and properly calling the student-dashboard.php page. I was getting a 404.

I was able to track it down to the if statement on line 5262 in coursepress.php where it is matching on the given URL. I didn't dive into the details of the actual code of that if statement but was able to replace that statement with an if statement of my own to get the student-dashboard.php page in my theme to trigger.

I didn't see other issues along these lines in the support forums, so I'm assuming that may be because others are using the CoursePress theme and the templates provided there? Not sure, but wanted to bring this to your attention.