Fixed potential issue when trying to store incompatible values with store_value.
When using run() or sudo() from main.ms, it functions properly now.