JAL-3273 small correction to expected result calculation