Bugfix: remove whitespace from list of result IDs