Added helper method to get matching properties. Fixed a bug where some content wasn't getting removed.