Fix for pandas 0.13 test failure

Fixes #278