Prevent errors with order_by if no keywords is used dureing search