I have a function that has 2 if statements. When running the code with debugger, it works perfectly fine and goes thru the correct if statement. But when I take out the debu