newForeignKeyFilter
remove dead code and implement table.tryGetFirst()