Remove a null check that ultimately was not needed