Bug fix for single month selections in monthly datasets

Plus other minor syntax changes