Fix custom empty? method preventing parent assignment