Issue #187; Fixed Key Error that was causing sphinx to crash when a missing reference to an object was called.