fix currency if statement ordering