Fix action=purge for Special:EntityData

Previous check was silly.

Change-Id: Ie92e8245e5f665432fa4c07142c3644e51552af5