Changed references of FluentQuery to SelectQuery