INT-2859 Fix Python OOM Error

INT-2859 - Remove Unnecessary Guard Condition
Merge pull request #694 from dturanski/INT-2859