Preserve original query when using provided block in Model#search