Fixing lookup problem with linked selectboxes