Allow to set non-even number of associations
Fixing constructUrl test.
Merge branch 'refs/heads/tkraut-noneven'