Apparently you can't have a raw if() in a string concatenation.