Fixed bug where null object was being reset.