Fixed bug in internal Twitter API query function that occured after the switch to OAuth