Fix compiler errors in GroupInput.hs