Bug fix for 1-dimensional output queries
ups

Merge branch 'master' into stable

Conflicts:
	R/loadECOMS.R