Added a check for table triggers

Attaches noodles correctly now instead of colliding with table