Search result now prefers owned cards

Search result may only display up to 50 cards. If possible, it now
chooses owned cards over non-owned ones.