Fixed bug with identifying POSIXct class