We replace all spaces by commas when filtering the status page, however,
due to the fact we don't use the `g` flag, it only splits the first
value and stops after the first one.
This patch adds the `g` flag to the regex so that all of the spaces are
replaced by commas when filtering.
Change-Id: I9b9cd33a7067fd00415e2ae1634e340a6df46749