Fixed main sql request
Merge branch 'develop' of ssh://github.com/PPiMapBuilder/PPiMapBuilder into develop