TEIID-2688 fix for NPE determining depenendent join cost