fix for simple search throwing exceptions in certain scenarios
fix for simple search throwing exceptions in certain scenarios

getgrav/grav-plugin-simplesearch,getgrav/grav-plugin-simplesearch,getgrav/grav-plugin-simplesearch