Fix existing student discount detection