Adds query migration for tracker references
Adds changelog entry