Giving foreign container precedence over in-ast container