Fix deprecated find_by calls

Replaces the deprecated find_by_ calls in `results_controller.rb` with the new `Results.where()` method