Added output type dependent resource filter again