check that parent exists before trying to get filter value from it