Fix #176 by guarding against ? being the last character.
Merge pull request #177 from seancorfield/develop

Fix #176 by guarding against ? being the last character.