Fixed a warning I get with debug mode on

Calling $wpdb->prepare requires a second parameter which generates a warning if it is not present. This breaks the AJAX call.