Fix the from_project in select_command.