Add more checks to to avoid re-compressing already compressed