Added option to disable viewing of hidden results