Cleanup isProblematicIfStatement implementation