Don't look for attributes if table doesn't exist

Closes #3