Added the case where no parameter is provided to omni:seed
Fixed the :id issue, also if no parent id is found insert " " (blank)