Fixes position of while loops with no body