Rank has been fixed in DB
Put back len attribute for backward compatibility
Merge pull request #27 from geoadmin/dev_fix_for_deploy

Dev fix for deploy