Fixed a bad object reference error that throws off with a fatal error.

Signed-off-by: J. Renée Beach <splendidnoise@gmail.com>