Fixed NLBService to handle scenarios that were causing books to be imported incorrectly