fix for nullPointerException in get item method if no groups yet loaded