Fix issue when select has no arguments