only extract parameters from query if they're not empty
Merge pull request #23 from csabapalfi/fix-mapTo

Only extract parameters from query if they're not empty