Fixed potential ConcurrentModificationException

Signed-off-by: Kai Kreuzer <kai@openhab.org>