Fixed a bug in Card Search