Fixed the issue of not able to create or drag records from calendar view.

Fixed the error while trying to create records and changing the date of existing records from calendar view.

Steps to produce : 
- Open calendar view of Task
- Drag and drop any task, it goes back to its original date.
- Try to create new task, it gives error.

Same in the case of Opportunities