Fix deletion of free text answers (refs #7880)

There was a bug in the session retrieval code causing an exception.