fixed before and after filters for referential data