Added tag 1109.2 for changeset f38244a54ea5
Remove unused import
Update get_random_logs so it only has to run one find query