Fixed bug in ModelMapper.select where None raised an exception.