Keyresolver: Fix reduction to single format
If an Any Format is given we don't need to reduce to single format and reducing with an any format does not work.