Catch invalid Julian Days