Make sure we update only the presets for the given operation.

There was a bug in this update SQL statement where all presets with
the same name and possibly for different module were updated.