The kingdom of heaven is -- literally -- like a mustard seed. (It's only if you remove the word "like" that the literal interpretation is problematic.)
As for the second verse you referenced, I see no problem with taking it literally. Obviously, beyond the narrow, literal meaning, it has wider application.
I just thought they were cute verses.
:-)