Fixed issue where dash would appear if date wasn't entered