Fix function checkFreeActivityPlace