Walaikumussalam
Yes if you read last sentence then you will understand it is clearly mentioned that :
But if it has dried up, and if its substance has been removed, then the prayer is valid.
If is dried up and substances removed then prayer is void
Wassalam