Fix DBException: An internal error occurred while searching for id "803", even after commit/retry #305