Move inventory null check.