Representative edit has been done, query has been optimised