Fixes duplicate sql execution issue