Small sql optimization
Merge branch 'master' of github.com:SkyTruth/iuumapserver