fixes #5270

This fixes issue #5270 where filters isValid returns no data present error when data is set on an aggregate inputfilter.