The correct behavior of the card, due to its wording, is that if it misses (ie. a hand with no cards/all lands is revealed), it lacks the reference object to measure its mana value, making the rest of the effect null.