Don't allow repeats on empty expressions (fixes #4)