Fix arguments handling in Date constructor