Checking for use_streaming_replication no longer throws an exception if it wasn't in the config; Search logic and typo also fixed