Fix nil

I'd log a warning here to indicate that something was not correct.