logic was off for checking max groups in cross group transactions
Merge pull request #1598 from AppScale/max-groups-xg

logic was off for checking max groups in cross group transactions