issue #934 fixed errors if no GT objects but id objects and vice-versa