Two minor bugfixes to maintain-replicas.pl

- one of the where clauses had == rather than =
- is_closed was not correctly populated on meta_p.wiki

Change-Id: I734791ae3fb5a1434881f06cbb9e84e673f41d51