Fix for crash when no books added to author