Fixed null book author and title in mysql throwing errors.