Merge pull request #384 from sergeyklay/master

Minor fixes
Fixed issue: Fixed expression in DB::select