Wrong return value and indexing when parsing Boolean

wasFalse() was returning false instead of true, changed wrong buffer indexing.