Fix pool cluster wildcard matching

fixes #627