Fixed bug in hasAlreadyCroquis function