update deps
Fix same bug that was in `frequency` command.

Basically, we need to guard against the case when the number
of records is less than the number of jobs specified by the user.
More frequency tests and bug fixes.
Test headers.

No bugs revealed! Yay!