diff --git a/sickbeard/databases/mainDB.py b/sickbeard/databases/mainDB.py
index e6664053089a3d5d9d05cc04655017fc26e4df72..63e03dff9ba84d636ec08dad26da7c26bad6ec8d 100644
--- a/sickbeard/databases/mainDB.py
+++ b/sickbeard/databases/mainDB.py
@@ -437,7 +437,7 @@ class AddSizeAndSceneNameFields(FixAirByDateSetting):
                 continue
             
             # if there is no size yet then populate it for us
-            if not cur_ep["file_size"] or (not int(cur_ep["file_size"]) and ek.ek(os.path.isfile, cur_ep["location"])):
+            if (not cur_ep["file_size"] or not int(cur_ep["file_size"]) and ek.ek(os.path.isfile, cur_ep["location"]):
                 cur_size = ek.ek(os.path.getsize, cur_ep["location"])
                 self.connection.action("UPDATE tv_episodes SET file_size = ? WHERE episode_id = ?", [cur_size, int(cur_ep["episode_id"])])