A few fixes to handle null values in query string/form data.