Fix Drupal 7 migrations

The SQL command in the Drupal 7 migration script does not work as expected. `n.vid` refers to the revision of a node, while `fdb.entity_id` refers to the id of the node itself. Instead `fdb.entity_id` should be compared to `n.nid`. I've added another constraint to only use the current revision of each node.