Expiry documents null bug