bug fix, handle partial buffers that don't start with open parenthesis

account for case where input buffer ends with closing paren of tuple
and next buffer read will get possible spaces and the separator (comma)

Change-Id: I2d2ca426e1c12f78812c7eccbc09f43294726b2b