Fixed error when empty student ID givent to book search.