Fix order controller bug during creation if no date was given