Yep, it's not wasted effort. This is how science works! Lots of dead ends and then suddenly a breakthrough.