Use decltype for SelectMany