Make sure to attach params only if they exist
Merge pull request #5 from narcisoguillen/master

Make sure to attach params only if they exist