Fixed the performance drop that was caused by a bit of extra stuff being done that wasn't needed.