Fixed a crash if an area has been added manually (and no detection/recognition has been done before) and a recognition attempt is started.