fixed solve to always bind packages listed in their interfaces keys.