Adjusted pastes for trending updates to be more database agnostic
Merge pull request #95 from erenfro/master

Adjusted pastes for trending updates to be more database agnostic