Remove a trailing comma