Fixed performance when search packages.
Merge pull request #73 from piotrooo/master

Fixed performance when search packages.