Change hasNot to doesntHave in whereDoesntHave method