Most of the work to ensure dataset parameter is passed in querystring
not yet ensuring correct checkbox is checked.