Check the expiration date for null
Check the expiration date for null

* null is always less than any value -> expirationDate gets null
  which is "no date set"
* ref https://github.com/owncloud/core/issues/20590#issuecomment-158393075

lrytz/core,lrytz/core,lrytz/core,lrytz/core,lrytz/core