BUG: Don't return mostly nans from `get_history` when `ffill=False`.

Fixes an issue where, if `ffill=False`, `get_history` would return nans for
every entry in the history frame except the last one.