Reference previous status correctly
Merge pull request #760 from robbydyer/master

Previous_occurrence not correctly referencing status