maxDocAgeInMinutes was changed to long integer

The property maxDocAgeInMinutes was changed to long. The related computation was updated to manage consistently.