I agree, but that isn't what seems to be implemented here (even before my change), as URL being first added would have the highest priority.  I think the correct fix is to switch URL and System in this block and leave Env in the middle.