handle modified queries not incrementing