Changed chaining to work with multi-selects