Fixing identification of valid intersection
Merge pull request #5 from vadhawal/master

Fixing identification of valid intersection