Add title matching filter function.