Fix remove matrix params from resource path