Fixed nullpointer exception on proposalDateRange