Find correct metadata instance on models with multiple inheritance/mixins