Fix #50, proxy used as index or slice.
Resolves #49, Add log level validator.