change SQL query for extent on GO
Merge pull request #960 from Vizzuality/feature/extent-graph

change SQL query for extent on GO