Fixing intersection bugs.