Revert "Change method to determine if the table is empty"

This reverts commit b646ef018cff47aa5583b92b39bdb121b4bf45e5.