Added check approved for projects in queries