Null checking to find a bug.