Attempt to workaround 'omero db' nastiness