fix handling of format chains in Chooser
Merge pull request #14 from xabbuh/chooser-format-chains

fix handling of format chains in Chooser