Fixed bug in mica when no cross-variable is present when creating a new query