Only sets non-empty placeholders

Only set modx placeholder value if the key value returns with a result