Null checks for base string