Fix dashboard graph filtering. Closes #348