Fix wrong super class in HasParentFilter.