CORE-6292 Fix for flag params in POST /analyses endpoint.

Fixed metadactyl.analyses.params/flag-args so that it doesn't attempt to trim nil values.