Adds retries around transactions that may deadlock; fix mod time ID for artifact page