[BUGFIX] Correct syntax of foreign table condition

Resolves: #494