Fixed bug in recognition of valid phase-values.