Fixed bug when dealing with metadata containing colons.