Fix edge case with lisObject check