Changed “next class” to “next weekday” due to flawed algorithm