Fixed facedetection not workiing when there is not enough faces in the
database