Restore capabilities to run-as binary

Change-Id: I9e2b8e9b69c94b94c57143c04b950530490ec33e
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index e6193f9..db054d2 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -1829,7 +1829,7 @@
 			while (end_pos != string::npos && start_pos < Restore_List.size()) {
 				restore_path = Restore_List.substr(start_pos, end_pos - start_pos);
 				if ((restore_part = Find_Partition_By_Path(restore_path)) != NULL) {
-					if (restore_part->Backup_Name == "recovery" && !restore_part->Can_Be_Backed_Up || restore_part->Is_SubPartition) {
+					if ((restore_part->Backup_Name == "recovery" && !restore_part->Can_Be_Backed_Up) || restore_part->Is_SubPartition) {
 						// Don't allow restore of recovery (causes problems on some devices)
 						// Don't add subpartitions to the list of items
 					} else {