Since the variable is not in a string, you don't need the hashmarks.
<cfif len(trim(form.company2)) neq 0> will do a better job of checking to see if company2 has value.
But that still isn't what's causing your issue. Something is wrong with the fifth company "leave" value. Does it contain an apostrophe?
^_^