Fixed bug made in #479
Merge pull request #480 from XWB/populate-command-hotfix

Fixed bug made in #479