Test on 1.4.4, when there is garbage data (records exist in image table but not in album table) and search criteria hit them, the search function will fail (the sql query assume the images.albumid is valid)
It could be fixed by perform a database refresh.