[BugFix] The 'if not exists'-check for the table index wasn't working correctly