fix stringindexoutofbounds error -- work around apparent change in short-circuiting logic?