Added functionality to restrict card search to a format.