fixed bug in filtering data series onto the charts view
default to last 20 days in 'view recent'
Adding default value to charts data_type_id column to prevent issues with nulls