Fix for relative dates