only select database if it's not the default
Merge pull request #52 from mediocregopher/select-fix

only select database if it's not the default