10181 setCurrentEventId

Minor modifications which will hopefully avoid the exception seen in the `PixelData` and `Indexer` logs. Note, however, that a clear way to reproduce has not yet been found.

See: https://trac.openmicroscopy.org.uk/ome/ticket/10181#comment:3