Fixed issue with id translation in select method