fix customfieldvalue can be a string not an array.

"-1".indexOf("-1") is true which leads to value.push failing.
value can be a string e.g. for filters for boolean.
Merge remote-tracking branch 'origin/feature/timelines_custom_fields_display_3884' into integration/custom-fields-in-timelines