This is something I've come across many times in my career. I constantly see motivated individuals excel against all odds and theoretically more prepared individuals fail when they should have made it with time left to spare.
Now Jason Yip
just linked to an article about that same fact: "Motivation is more important than innate ability".
Check out the details. It's worth a reading, or two ;)