Remove redundant == true statements in plugins.