Merge "Bug fix in overflow detection on pow. With regression test."