Fix object not found bug.