Fix issue with some CP2K outputs