utils: collapse_initials fix

* Fix to handle more than one spaces between initials.

Signed-of-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>