Previously viewed activity

The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype.