Fix leading comma handling