Fixed the interpolation check