Bugfix certificate expiry

This fixes the bug where the expired gb alpha surveys aren't being marked as expiring.

Resolves #692