Fix broken test for orphaned albums

This test would have never passed because it compared an unevaluated
query object to None. We have to execute the query using .all() or
.first().
Remove orphaned albums during an update