Converted the filter value into a list for 3.x support.