Refs #9037 Streamlined check for an array

found out that groupget was already doing a check (it seems i did it and forgot about it) so the check in calcres wasn't required.

The array accessing in groupget has also been streamlined