Issue #34: updated url directive to properly handle multiple populated fields