Null protect the library item name check.