Fixed Ajax and search