Fix typos in query and controller updates.