fix logic in tag check, AND -> OR

Signed-off-by: Riccardo Spagni <ric@spagni.net>