Fix for Util.getAllOf