Fix bug in trailing ","

It makes None to be (None,)