Fix: only access params[:q][:s] if params[:q] set.