Fixed operation order bug causing subscriptions to not work