Fix several bugs in inverted tables with celled, disabled content