Shuffle conditional check if length is greater than 1.
Merge pull request #13 from ianlintner-wf/shuffle_fix

Shuffle conditional check if length is greater than 1.