Remove visibility from query findAllNameAndPattern()