fix for issue #5 regarding csrf and the search block