Shortcode "course_join_button" problem after update Coursepress

I created a custom page to show all courses that a student enrolled. Before the update, the button actually worked and showed the Start Learning button.

After the update, it changed from "Start Learning" to "Details".

If I remove "!is_single()" on line "1326", it works just fine.

How can I fix this problem?