Fix input validation sniff targeting wrong condition

Closes #115 
@weston