Issue #2484667 by joshi.rohit100, Berdir: Do not run query in node_cron() if search.module is not enabled