Add date to rendered filter sentence

Slightly changed the way checked fields are added to the filter state in
javascript so that it was easy to get hold of the value.