Fixed condition interception in while and if statements