Fixed Predicted Bug

A piece of the code that I wrote would've caused an error.