slick compilation fixed - Select(Select(If, ...))