Fix for replaceAll in a range. Fix for no session ace

@nightwing