Add a null check in tooltip text for NMS-6627