Remove unneeded select.