Corrected variable value swap for adding ServiiDB resource