This error is often resolved by saving the query after the changes have been made and reopening it using the following steps:
  1. Go to the Set save options tab
  2. Hit the Save button
  3. Click OK on the error
  4. Back out of the query by hitting Cancel
  5. Reopen the query
Your changes should be saved and the error will be resolved.