Fix explicit select bug