general folder query checks for alias