fixes for NA for logical and POSIXt