Forgot to null out reference

Silly copy-paste error