Subvenues when venue id is undefined

Removes undefined values from the query params.