Fixes #6845 evaluate changed_when only if task is not skipped