Simplify the re-query for quotes after insert or delete