Add is_current_parent on pages filtering

Hi Stephen,

This is #724 with only the commit related to page filtering.