Bug with for comprehension and IO moanad