Cleanup unnecessary nested if's.