Patch situation where db table nagios_logentries has items where `instance_id`,`logentry_time`,`entry_time`,`entry_time_usec` isn't unique enough for upgrade to happen cleanly. - (Scott Wilkerson)