Fix multiple command persistent source writing

Fixed an issue where ":" will only accept and write the first command
as parsed in the tree and ignore the rest. This is now made consistent
with the default case.