I suspect your issue may be twofold.
First of all you are enabling the "returnFirst" parameter which would tell the chain resolver to favour one repo over the other:
Secondly I think you need to purge your ivy cache if you are changing the content of the repositories between resolve operations.
The cache would keep a record of previous resolves in order to optimize network operations.