Made startDate and endDate default to -Infinity and Infinity for false values

Added logic to the _process_options function so that values of startDate and endDate that resolve to false (such as an empty string) will default to -Infinity or Infinity, respectively, rather than throwing an error.

Added a missing semi-colon.