Fixed including a pattern in expanded resources.