fix generation of items for contract lines
Merge branch 'fs_personas' of github.com:zhdk/leihs into fs_personas