Fixes wrong exception being caught in DatabaseEnvironment#createObject logic to work around instances that no longer implements Recordable.