Fixed critical mistake

This mistake essentially meant the data was locked.