Fix getting revenue from properties to be case-insensitive (fix #167)