1
Optimise devices changed query to not pull unnecessary rows from the database, reducing database load.