Heroku fix
Heroku fix
Fixed code error. Extra loop left in when refactoring.