Fixed very frustrating bug in review function where kept getting undefined counter