That code just above reintroduced that $exist bug... fixed the post.