Update ?: syntax, fixes #11