[#2212] CID44271:

Reordered null check