I had errors using the all in one option due to the size of the site. I can try again using filters to not include the larger files but I won't get to work on that today.
Now I wasn't able to replicate your issue where you stated that if you create a new post the condition won't work or if you edit an old post it also fails.
In both scenarios the above statement works. Not the change that was made was to add "true" to the conditional.