It's a syncretic form: "niegrzecznym" as such can be sigular number Instrumental or Locative case, masculine or neuter gender. It can also be plural Dative case, both masculine personal and non-masculine personal.
In this particular case, it's plural. In the phrase there is no hint about the gender.