Fix for incorrect handling of NAs