fix folder check for to check for folder or album type