Fix wrong conditional as originally committed in 160315fcb1.
Fix wpdb::prepare() warning.