Fix bug checking action / role in resource set parser (#14)