Fixed tiny bug in search