Corrected Missing Boolean Errors

Cause unexpected results