Fixing an issue where a null pointer could be dereferenced.