Fixes bug where Beets didn't return any results

Beets' web plugin requires you to omit the 'album' part of a query if an album is empty; otherwise, it will search for tracks that aren't on any album at all (which is not the desired result).

This small patch fixes this bug.