Testing with or check instead of and, thereby removing ghosts