Groups module wasn't working because it asked to see the image set but if the groups module is misconfigured, this fails. Instead, I've created yet another cacheing mechanism to collect the metadata keys which is what the groups module needed.
issue #614 defensive coding to prevent out of range access