fix: handle Null Dereference in NthUglyNumber
#5469
+10
−13
Merged