Fix poem inactivity checking