Fix on an issue with statement retrieval (statements coming as dictionaries, converting to string is a quick fix)