Fixed a PHP Notice related to WordPress version 3.9 and $wpdb->prepare()