any_map remaps are missed when generating remap.config due to a flaw in the logic.
GitHub Pull Request #841