Fixed typo that lead to NumberFormatException

Fixed typo that lead to NumberFormatException when parsing intervals with
an open lower bound and an included upper bound.

Fixes #343