I agree that it does undermine Edgar's win. Although this could be really big for Edgar also, he's going to be considered pretty legit if he can be the lightweight to beat BJ Penn twice in a row.
UFC doesn't feel like Gray is ready for a title shot, I think a fight with Kenny Florian will prove that he's not.