Fixes #6195, bz1109386 - 403 on cv version delete

Content view remove call specifying versions and envs to be removed / unasssociated
had a minor glitch -> env_ids - @view.environment_ids.map(&:to_s)).empty?
env_ids = [1,2,3]  while @view.environment_ids.map(&:to_s) = [1,2,3]
Problem was API was treating it like a list of strings while params code changed it to ints
This commit should fix that issue
This concern is making a large assumption here (that this function exists wherever this is being included).