Fixed the previous issue properly. Should have done it this way in the first place, not sure why I didn't.