Found bug in if statement
Revert "Found bug in if statement"

This reverts commit a49847570de659c4643db126637ba1023b4bb6c9.
Fixed bug in if and added or logic for sections back in