Issue671

Fix proposal for https://github.com/georchestra/georchestra/issues/671

This was probably never tested by a human. 
It is impossible that it ever worked.