Minor error in inbox watch function