GRASS feature id fix, tables selection id fix, fixes #6451