Query Parameter (q): prevent fails with null values and toString