fix query to group anime aliases - (not very clean or optimal but it works)