Fixed bug with reports module.

This pull request addresses the following issue:

* #86: Bug with reports module

The problem is two-parts: one being the caching of variables in the view and the other being the improper cleanup of variables on new requests. When the first request is sent, the variables are initiated from a clean slate and constructs the dataset without problems. However, when a subsequent request is sent, some of the data from the first request still remains in cache and proceeds to rebuild the new dataset with some of the previous request's data inside. This causes misalignment in the `allData` array, which in turn, results in the undefined error as seen in the issue.

The fix was to add an initial function to the `async.waterfall` with the purpose to reset the old dataset back to its initial empty state. Thus, it addresses both of the aforementioned problems by overwriting the cached variables and provide proper cleanup whenever a new request is sent.