Bugfixes for floats and date comparison