fix group by tag so that equal sign is preserved

Unless I'm mistaken, I don't think the equal sign should be passed along in the to_safe function call because its getting converted to an underscore. I updated my own local copy of ec2.py and wanted to submit a pull request to get this updated.