Fixing bug with selectable columns and date range variables.  Fixes #59