Pull Request for Issue98: Issues changing the run associated with a scan

I was unable to reproduce the slowness that was mentioned.  If it becomes an issue in the future, then it'll be tackled then.  Made a pretty trivial change to only modify the runId when it actually changes.