we are now correctly filtering on the new generated rst