fix for numpy arrays not being sequences.

ridiculously annoying error.