Issue #17.  Check that cart is not false before checking against library titles.