You felt you were behind and decided not to chase the non-nut flush. Instead, you saw the flush come and feel you lost on a big pot - that's a leak as you are being too results oriented.
Trust your reads and realize 60-70% of the time you make this fold to someone holding a straight, you won't make the flush anyway.