Fix bug which resulted in geodata not being returned