Fixed problem with keyword list mapping from Python to C