Fixed issue with evaluating of conditional IF expression