Anomalous beheavior in Javafx script with dur operator