Fixed relative date check.