Fixed getting conditions from intersection