wrap singular case in a flattened array.
version up
adding tests for singular case
Merge pull request #97 from cbdr/fix_singular_recommendation_case

Fix singular recommendation case