Remove duplicate permissions