limit the number of claims that will be stored in the database - fixes #21