Fixed bug where already-resolved promises weren't applied properly