MOODLE2: Solved problem retrieving level of the books