Does not render if invalidPath is empty

Attempts to address #1021