Only print bug message if actual changes are tried on db commit