Fix bug on report JS, regex filter type