Lookup with 5 arguments is rendered incorrectly

LookupValue supports 4 parameters at maximum. For more parameters LookupValueEx needs to be used.