Fixed the get-combos function