Fixed bug where gotExpected was not returning correctly when wildcard (*) ranges were used.