Add logging to see if filter is invoked.