Fix undefined variable bug in Browse Subjects dropdown