Modified how valid bit is checked for #26.