Library titles stripping function working as intended