VAT-416 Handled upgrade for New activity type and new option for Contact Dashboard.
VAT-416 Used CAST operator to get correct maximum value.
Merge pull request #26 from Parag18/VAT-416-New

VAT-416 Handled upgrade for New activity type and new option for Contact...