Make property_sets compatible with Rails 4