check for plain sqrt in denominators

fixes #7408