Changed emit_list to add parenthesis, since some SQL arguments require them.