Fix history and members pages to work during payday

Fixes #148.