Guard against passing a tree instead of array
Release version 0.2.1