Making sure we prevent any errors if passing locations and a custom meta query