Avoid mixing mapped and table keys
Merge pull request #447 from geoadmin/gal_fix_getattributes_bis

Yes, looks good.
Thanks for the rapid fix