Fixing the issue with search id not being available.