Skips compression on empty. Closes #2164