Fixed a bug with adress search