def add_table_suffix(table, suffix):
    """Helper to deal with backticks when adding table suffix"""
    table = str(table)
    if table.endswith('`'):
        table = table.rstrip('`') + suffix + '`'
    else:
        table = table + suffix
    return table
