Define get_changed helper to find changes to @task