database cleanups
fix album search without metaitems and search listing order