fixes #292 converted ids to list if it is integer
Merge branch 'master' of git@github.com:RonBe/loan.git