Fixed false checks to use OR instead of AND. Tests pass regardless. :)