Do not rely on has_changes and PublishState, use VisibilityState for displaying xblock statuses.