On maximization of the modularity index in network psychometrics