Fix wrong reference to geometries in sintax

Geometry a was repeated and geometry was missing
Remove duplicated line
Merge pull request #1459 from cdavila/patch-1

Fix wrong reference to geometries in syntax