Fix potential error if an assign has a symbol key, helps compatability with rspec view specs