Fixed a bug with smart albums