Attempt at getting leads to filter properly

Tried to get leads to filter properly when side links are clicked, not
working quite yet.