Have you tried to use a custom form?
This way you can set better conditions to your actions as these will be set before sending the info to table 2.