Changed the argument to forEach to be an array of object keys