Change query set  index increment functionality