isTable fixed

fixed issue with isTable not returning false