Fix NullPointerException in blog pageview filter code