fixed logic when GAE evicts entries