BUG: Fix numpy dtype casting bug that only manifests in pandas 0.14.0.