Fix to Lookups.
This now checks that a field exists before passing to the Lookup. So if a field is hidden it will still alow the lookup to work correctly
Authored by: rkisson 2011-09-03
Parent: [r5505]
Child: [r5507]