Modifying get_results queries