fix select for non existant dimensions and metrics
Merge pull request #744 from metamx/fix-select

fix select for non existant dimensions and metrics