Calculation improvements for custom fields

Nothing have changed in this regard for long time as far as Manager code goes so I assume this must result in some new behaviour in .NET itself.

So I assume times filter no longer works when using text variables.

Also, this is quite convoluted way to solve fairly generic requirement. I think items could have Weight field as built-in and then this could all work out of the box without any custom themes.