Convert to string before calling the method.

see #643

Conflicts:
	modoboa/extensions/amavis/sql_listing.py