Fix default value selection for metadata types using a lookup field