Ensure Firebase values read before using