Moodle.2x mod/reader exclude NULL and empty genres when extracting values from database