Fixed a bug that prevented custom calculation equations from working with hidden fields.