just a few days earlier , the location scout for the film had been fired after it was discovered that the north carolina town where they were meant to be shooting for the first month of the summer was under attack by a swarm of cicadas .