bug fix for missing objectId to redirect on search