Fixing identification of valid intersection