fix spatial dateline queries (#237)
Merge pull request #255 from tomkralidis/issue-237

fix spatial dateline queries (#237)