Fix loading via loadables when nested configs are involved.

cc @zmanji @jcohen