Correction for write_to_database call.